#include "stdafx.h"
#include "ZetaTauriPieceDef.h"
#include "InstanceTouch.h"
DECL_INSTANCE_TOUCH(ETouch_ZetaTauriPieceDef);

struct  ZetaTauriPieceDefDefReflectionRegister
{
	ZetaTauriPieceDefDefReflectionRegister()
	{
		REGISTER_REFLECTION_MEMBER(ZetaTauriPieceDef,m_iID,INVALID_ID).Editor_SetAsPrimaryKey();
		REGISTER_REFLECTION_MEMBER(ZetaTauriPieceDef,m_sDisplayName,std::string("DefaultName")).Editor_SetAsDisplayName();
		REGISTER_REFLECTION_MEMBER(ZetaTauriPieceDef,m_iPieceId,0).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(ZetaTauriPieceDef,m_iPieceCount,1).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(ZetaTauriPieceDef,m_iPieceScore,100).Editor_SetAsRaw();
		
		GlobalClassManager::Instance().RegisterClass(ZetaTauriPieceDef::s_GetReflection(),eDefaultDef_ZetaTauriPieceDef);
		GlobalDefManager::Instance().RegisterDefManger(&ZetaTauriPieceDefManager::Instance());

	}
}___ZetaTauriPieceDefDefReflectionRegister;

rewrite  void ZetaTauriPieceDef::OnArchieveReaded()
{
}

void ZetaTauriPieceDefManager::OnArchieveReaded()
{
	__ZetaTauriPieceDefManager::OnArchieveReaded();
}